﻿using System;
using System.Collections.Generic;

using System.Web;
using System.Web.UI;
using System.Data;
using System.Web.Profile;
using System.Web.UI.WebControls;
using System.Text;
using Gift.DAL;
using Gift.Model;

namespace WebSite.cn
{
    public partial class products_detfrm2 : BasePage
    {
        // Fields

        DALGoodsAttributes theGoodsAttributes = new DALGoodsAttributes();
        tbGoodsAttributes oGoodsAttributes;



        public string GetGoodsAttributes()
        {
            if (!string.IsNullOrEmpty(base.Request.QueryString["gid"]))
            {
                StringBuilder sbHtml = new StringBuilder();
                oGoodsAttributes = theGoodsAttributes.GetModel(int.Parse(base.Request.QueryString["gid"]));
                if (oGoodsAttributes != null && oGoodsAttributes.saleService != null)
                {
                    return oGoodsAttributes.saleService.ToString();
                }

            }
            return string.Empty;

        }

        protected void Page_Load(object sender, EventArgs e)
        {

        }

    }
}